util-linux: getopt(1) should point to where examples are on a Debian system
authorMatthew Vernon <matthew@debian.org>
Tue, 6 Nov 2018 11:49:21 +0000 (11:49 +0000)
committerChris Hofstaedtler <zeha@debian.org>
Thu, 4 Aug 2022 16:18:17 +0000 (17:18 +0100)
Debian BTS #913049

Gbp-Pq: Topic debian
Gbp-Pq: Name man-getopt-examples.patch

misc-utils/getopt.1

index 54a5d859274187b7d8720cb83d7e841e3d27b5bb..9bb66b752c68513c442968262460d541bc9e95f5 100644 (file)
@@ -155,7 +155,7 @@ In compatibility mode, leading \(aq\fB\-\fP\(aq and \(aq\fB+\fP\(aq characters i
 \fBgetopt\fP returns error code \fB0\fP for successful parsing, \fB1\fP if \fBgetopt\fP(3) returns errors, \fB2\fP if it does not understand its own parameters, \fB3\fP if an internal error occurs like out\-of\-memory, and \fB4\fP if it is called with \fB\-T\fP.
 .SH "EXAMPLES"
 .sp
-Example scripts for (ba)sh and (t)csh are provided with the \fBgetopt\fP(1) distribution, and are installed in \fI/usr/share/doc/util\-linux\fP directory.
+Example scripts for (ba)sh and (t)csh are provided with the \fBgetopt\fP(1) distribution, and are installed in \fI/usr/share/doc/util\-linux/examples/\fP directory.
 .SH "ENVIRONMENT"
 .sp
 \fBPOSIXLY_CORRECT\fP